<template>
当前窗口大小：{{ width }} x {{ height }}
</template>
<script setup lang="ts">
import {useWindowSize} from "@vueuse/core";

defineOptions({
  name: "UseWindowSize"
})

const { width, height } = useWindowSize()
</script>
